package com.muyu.system.service;

import com.muyu.common.core.domain.Result;
import com.muyu.system.domain.DanmoShoppingSpecification;
import com.muyu.system.req.DanmoSpecificationDto;

/**
 * 商品规格Service接口
 * 
 * @author kunzong
 * @date 2024-12-02
 */
public interface IDanmoShoppingSpecificationService 
{
    /**
     * 查询商品规格
     * 
     * @param id 商品规格主键
     * @return 商品规格
     */
    public DanmoShoppingSpecification selectDanmoShoppingSpecificationById(Long id);

    /**
     * 查询商品规格列表
     * 
     * @param danmoSpecificationDto 商品规格
     * @return 商品规格集合
     */
    public Result selectDanmoShoppingSpecificationList(DanmoSpecificationDto danmoSpecificationDto);

    /**
     * 新增商品规格
     * 
     * @param danmoShoppingSpecification 商品规格
     * @return 结果
     */
    public int insertDanmoShoppingSpecification(DanmoShoppingSpecification danmoShoppingSpecification);

    /**
     * 修改商品规格
     * 
     * @param danmoShoppingSpecification 商品规格
     * @return 结果
     */
    public int updateDanmoShoppingSpecification(DanmoShoppingSpecification danmoShoppingSpecification);

    /**
     * 批量删除商品规格
     * 
     * @param ids 需要删除的商品规格主键集合
     * @return 结果
     */
    public int deleteDanmoShoppingSpecificationByIds(Long[] ids);

    /**
     * 删除商品规格信息
     * 
     * @param id 商品规格主键
     * @return 结果
     */
    public int deleteDanmoShoppingSpecificationById(Long id);
}
